package aa.jx.order.model;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public class OrderStatistics {
    // 各状态订单数量统计
    private List<Map<String, Object>> statusCounts;

    // 销售额统计
    private BigDecimal salesAmount;

    // 每日订单趋势数据
    private List<Map<String, Object>> dailyTrend;

    // 今日订单数（非数据库字段，用于前端展示）
    private Integer todayOrders;

    // 今日销售额（非数据库字段，用于前端展示）
    private BigDecimal todaySales;

    // 待发货订单数（非数据库字段，用于前端展示）
    private Integer pendingShipment;

    // Getters and Setters
    public List<Map<String, Object>> getStatusCounts() {
        return statusCounts;
    }

    public void setStatusCounts(List<Map<String, Object>> statusCounts) {
        this.statusCounts = statusCounts;
    }

    public BigDecimal getSalesAmount() {
        return salesAmount;
    }

    public void setSalesAmount(BigDecimal salesAmount) {
        this.salesAmount = salesAmount;
    }

    public List<Map<String, Object>> getDailyTrend() {
        return dailyTrend;
    }

    public void setDailyTrend(List<Map<String, Object>> dailyTrend) {
        this.dailyTrend = dailyTrend;
    }

    public Integer getTodayOrders() {
        return todayOrders;
    }

    public void setTodayOrders(Integer todayOrders) {
        this.todayOrders = todayOrders;
    }

    public BigDecimal getTodaySales() {
        return todaySales;
    }

    public void setTodaySales(BigDecimal todaySales) {
        this.todaySales = todaySales;
    }

    public Integer getPendingShipment() {
        return pendingShipment;
    }

    public void setPendingShipment(Integer pendingShipment) {
        this.pendingShipment = pendingShipment;
    }
}